package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Teacher;
import com.example.projectcode.vo.TeacherVo;

public interface TeacherService extends IService<Teacher> {
    boolean insertTeacher(Teacher teacher);

    int deleteTeacherById(Integer id);

    int updateTeacher(Teacher teacher);

    Teacher selectOneTeacher(String teaUsername, String teaPassword);

    int updatePasswordById(Integer teaId, String teaPassword);

    int updateTeacherByVo(TeacherVo teacherVo);
}
